<?php /* Smarty version 2.6.18, created on 2012-05-16 23:43:28
         compiled from member/box-resultsearch.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'vfriend_username', 'member/box-resultsearch.tpl', 12, false),array('function', 'image', 'member/box-resultsearch.tpl', 13, false),array('function', 'paging', 'member/box-resultsearch.tpl', 37, false),)), $this); ?>
<div class="boxResult">
    <div class="headerTitle"><h3><?php if ($this->_tpl_vars['strAction'] == 'index' || $this->_tpl_vars['strAction'] == 'match'): ?>Thành viên phù hợp<?php elseif ($this->_tpl_vars['strAction'] == 'search'): ?>Kết quả tìm kiếm<?php elseif ($this->_tpl_vars['strAction'] == 'religion'): ?>Cùng tôn giáo<?php elseif ($this->_tpl_vars['strAction'] == 'occupation'): ?>Cùng ngành nghề<?php endif; ?></h3></div>
    <div class="resultItem">
        <?php if ($this->_tpl_vars['arrResult']): ?>
        	<ul>
                <?php $_from = $this->_tpl_vars['arrResult']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i'] => $this->_tpl_vars['item']):
?>
              		<li onmouseover="javascript:onMouseOver(<?php echo $this->_tpl_vars['item']['userid']; ?>
);" onmouseout="javascript:onMouseOut(<?php echo $this->_tpl_vars['item']['userid']; ?>
);" <?php if ($this->_tpl_vars['i'] == 0): ?>class="firstChild"<?php endif; ?>>
                		<div class="borderAvatar lFloat">
                            <table border="0" width="100%" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <a href="<?php echo smarty_function_vfriend_username(array('userid' => $this->_tpl_vars['item']['userid']), $this);?>
">
                                            <img src="<?php echo smarty_function_image(array('path' => $this->_tpl_vars['item']['image_path'],'type' => 1), $this);?>
" width="130" alt="<?php echo $this->_tpl_vars['item']['username']; ?>
 thành viên website <?php echo @DOMAIN_NAME; ?>
" border="0" />
                                        </a>
                                    </td>
                                </tr>
                            </table>
                        </div>
                       	<div class="infoDetail">
                        	<input type="button" class="btn" value="Kết bạn" id="member<?php echo $this->_tpl_vars['item']['userid']; ?>
" />
                            <ul>
                                <li class="firstChild"><h4 class="<?php if ($this->_tpl_vars['item']['gender'] == 1): ?>gMale<?php elseif ($this->_tpl_vars['item']['gender'] == 2): ?>gFemale<?php endif; ?>"><a href="<?php echo smarty_function_vfriend_username(array('userid' => $this->_tpl_vars['item']['userid']), $this);?>
"><?php echo $this->_tpl_vars['item']['fullnamevn']; ?>
</a> - <strong><?php echo $this->_tpl_vars['item']['ages']; ?>
</strong> tuổi<?php if ($this->_tpl_vars['item']['province_name']): ?>, tại <strong><?php echo $this->_tpl_vars['item']['province_name']; ?>
<?php endif; ?></strong></h4></li>
                                <?php if ($this->_tpl_vars['item']['marital_name']): ?>
                                    <li><span class="firstItem">Tình trạng:</span><span class="lastItem"><?php echo $this->_tpl_vars['item']['marital_name']; ?>
</span></li>
                                <?php endif; ?>
                                <?php if ($this->_tpl_vars['item']['religion_name']): ?>
                                    <li><span class="firstItem">Tôn giáo:</span><span class="lastItem"><?php echo $this->_tpl_vars['item']['religion_name']; ?>
</span></li>
                                <?php endif; ?>
                                <?php if ($this->_tpl_vars['item']['occupation_name']): ?>
                                    <li><span class="firstItem">Nghề nghiệp:</span><span class="lastItem"><?php echo $this->_tpl_vars['item']['occupation_name']; ?>
</span></li>
                                <?php endif; ?>
                            </ul>
                        </div>                        
                    </li>
                <?php endforeach; endif; unset($_from); ?>
            </ul>
            <?php echo smarty_function_paging(array('total' => $this->_tpl_vars['intTotal'],'limit' => $this->_tpl_vars['intLimit'],'offset' => $this->_tpl_vars['intOffset']), $this);?>

        <?php else: ?>
            <div class="notContent">Không có dữ liệu phù hợp với tiêu chí tìm kiếm của bạn.</div>
        <?php endif; ?>
    </div>
</div>